package com.oxy.svc;

import java.util.List;

import com.oxy.model.Pager;
import com.oxy.model.po.MemberPO;

public interface MemberSvc {
	public long getMemberCount();
	public List<MemberPO> list(Pager pager);
	
	/*
	 * Return MemberPO.uid which generated during inserting.
	 * @see com.oxy.svc.MemberSvc#regMember(com.oxy.model.po.MemberPO)
	 */
	public long regMember(MemberPO mem);
	
	public boolean loginByEmail(String email, String password);
}
